package com.keyinong.park.util;

import java.util.Comparator;

import com.keyinong.park.homebean.RoomBean;

public class ListTimeSequence2 implements Comparator<RoomBean> {

	@Override
	public int compare(RoomBean lhs, RoomBean rhs) {
		RoomBean time1 = (RoomBean) lhs;
		RoomBean time2 = (RoomBean) rhs;
		return time2.getEnd_time().compareTo(time1.getEnd_time());
	}
}
